package edu.lingnan.house.service;

import edu.lingnan.house.pojo.TbBooking;

import java.util.List;

public interface BookService_lxj {
    //中介查询负责的未审批预约申请
    List<TbBooking> findBookByAgentIdAndState1(String agentId);

    //中介查询负责的的已审批预约
    List<TbBooking> findBookByAgentIdAndState2(String agentId);

    //中介审批通过客户预约申请
    int updateBookByAgent2(TbBooking booking);

    //中介审批不通过客户预约申请
    int updateBookByAgent4(TbBooking booking);
}
